package com.cxyd.modules.monitor.task;

import com.cxyd.modules.monitor.server.WsSessionManager;
import org.springframework.stereotype.Component;

@Component("monitor-task")
public class MonitorTask {
    public void broadcast(){
        System.out.println("broadcast");
        WsSessionManager.broadcast("HelloWorld");
    }
}
